package uml2Java;

import org.eclipse.uml2.uml.Type;

@SuppressWarnings("serial")
public class JavaIncompatibleTypeException extends Exception {

	private Type _type;
	
	public JavaIncompatibleTypeException(Type t) {
		_type = t;
	}
	
	public String toString() {
		return (super.toString()+ " " + _type.toString());
	}
	
}
